home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xarchie-2.0.9 / Ad2c / Makefile.bak < prev    next >
Makefile  |  1995-06-18  |  9KB  |  299 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
  3. #
  4. # The cpp used on this machine replaces all newlines and multiple tabs and
  5. # spaces in a macro expansion with a single space.  Imake tries to compensate
  6. # for this, but is not always successful.
  7. #
  8.  
  9. ###########################################################################
  10. # Makefile generated from "Imake.tmpl" and </tmp/IIf.a00917>
  11. # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
  12. #
  13. # Platform-specific parameters may be set in the appropriate .cf
  14. # configuration files.  Site-wide parameters may be set in the file
  15. # site.def.  Full rebuilds are recommended if any parameters are changed.
  16. #
  17. # If your C preprocessor doesn't define any unique symbols, you'll need
  18. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  19. # "make Makefile", "make Makefiles", or "make World").
  20. #
  21. # If you absolutely can't get imake to work, you'll need to set the
  22. # variables at the top of each Makefile as well as the dependencies at the
  23. # bottom (makedepend will do this automatically).
  24. #
  25.  
  26. ###########################################################################
  27. # platform-specific configuration parameters - edit sun.cf to change
  28.  
  29. # platform:  $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $
  30. # operating system:  SunOS 4.0.3
  31.  
  32. ###########################################################################
  33. # site-specific configuration parameters - edit site.def to change
  34.  
  35. # site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
  36.  
  37.             SHELL = /bin/sh
  38.  
  39.               TOP = ../.
  40.       CURRENT_DIR = ./Ad2c
  41.  
  42.                AR = ar cq
  43.   BOOTSTRAPCFLAGS =
  44.                CC = cc
  45.  
  46.          COMPRESS = compress
  47.               CPP = /lib/cpp $(STD_CPP_DEFINES)
  48.     PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  49.           INSTALL = install
  50.                LD = ld
  51.              LINT = lint
  52.       LINTLIBFLAG = -C
  53.          LINTOPTS = -axz
  54.                LN = ln -s
  55.              MAKE = make
  56.                MV = mv
  57.                CP = cp
  58.            RANLIB = ranlib
  59.   RANLIBINSTFLAGS =
  60.                RM = rm -f
  61.      STD_INCLUDES =
  62.   STD_CPP_DEFINES =
  63.       STD_DEFINES =
  64.  EXTRA_LOAD_FLAGS =
  65.   EXTRA_LIBRARIES =
  66.              TAGS = ctags
  67.  
  68.     SHAREDCODEDEF = -DSHAREDCODE
  69.          SHLIBDEF = -DSUNSHLIB
  70.  
  71.     PROTO_DEFINES =
  72.  
  73.      INSTPGMFLAGS =
  74.  
  75.      INSTBINFLAGS = -m 0755
  76.      INSTUIDFLAGS = -m 4755
  77.      INSTLIBFLAGS = -m 0664
  78.      INSTINCFLAGS = -m 0444
  79.      INSTMANFLAGS = -m 0444
  80.      INSTDATFLAGS = -m 0444
  81.     INSTKMEMFLAGS = -g kmem -m 2755
  82.  
  83.           DESTDIR =
  84.  
  85.      TOP_INCLUDES = -I$(INCROOT)
  86.  
  87.       CDEBUGFLAGS = -O
  88.         CCOPTIONS =
  89.       COMPATFLAGS =
  90.  
  91.       ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
  92.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
  93.            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  94.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  95.            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  96.         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
  97.    LDCOMBINEFLAGS = -X -r
  98.  
  99.         MACROFILE = sun.cf
  100.            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
  101.  
  102.     IMAKE_DEFINES =
  103.  
  104.          IRULESRC = $(CONFIGDIR)
  105.         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  106.  
  107.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  108.             $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  109.             $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  110.  
  111. ###########################################################################
  112. # X Window System Build Parameters
  113. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  114.  
  115. ###########################################################################
  116. # X Window System make variables; this need to be coordinated with rules
  117. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  118.  
  119.           PATHSEP = /
  120.         USRLIBDIR = /usr/staff/lib
  121.            BINDIR = /usr/staff/bin
  122.           INCROOT = /usr/staff/include
  123.      BUILDINCROOT = $(TOP)
  124.       BUILDINCDIR = $(BUILDINCROOT)/X11
  125.       BUILDINCTOP = ..
  126.            INCDIR = $(INCROOT)/X11
  127.            ADMDIR = /tmp
  128.            LIBDIR = $(USRLIBDIR)/X11
  129.         CONFIGDIR = $(LIBDIR)/config
  130.        LINTLIBDIR = $(USRLIBDIR)/lint
  131.  
  132.           FONTDIR = $(LIBDIR)/fonts
  133.          XINITDIR = $(LIBDIR)/xinit
  134.            XDMDIR = $(LIBDIR)/xdm
  135.            AWMDIR = $(LIBDIR)/awm
  136.            TWMDIR = $(LIBDIR)/twm
  137.            GWMDIR = $(LIBDIR)/gwm
  138.           MANPATH = $(DESTDIR)/usr/staff/man
  139.     MANSOURCEPATH = $(MANPATH)/man
  140.            MANDIR = $(MANSOURCEPATH)1
  141.         LIBMANDIR = $(MANSOURCEPATH)3
  142.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  143. XFILESEARCHPATHDEFAULT = $(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S
  144.              ERRORDB = $(LIBDIR)/XtErrorDB
  145.  
  146.         SOXLIBREV = 4.4
  147.           SOXTREV = 4.1
  148.          SOXAWREV = 4.0
  149.         SOOLDXREV = 4.0
  150.          SOXMUREV = 4.0
  151.         SOXEXTREV = 4.0
  152.  
  153.        FONTCFLAGS = -t
  154.  
  155.      INSTAPPFLAGS = $(INSTDATFLAGS)
  156.  
  157.             IMAKE = imake
  158.            DEPEND = makedepend
  159.               RGB = rgb
  160.             FONTC = bdftosnf
  161.         MKFONTDIR = mkfontdir
  162.         MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh
  163.  
  164.         CONFIGSRC = $(TOP)/config
  165.         CLIENTSRC = $(TOP)/clients
  166.           DEMOSRC = $(TOP)/demos
  167.            LIBSRC = $(TOP)/lib
  168.           FONTSRC = $(TOP)/fonts
  169.        INCLUDESRC = $(TOP)/X11
  170.         SERVERSRC = $(TOP)/server
  171.           UTILSRC = $(TOP)/util
  172.         SCRIPTSRC = $(UTILSRC)/scripts
  173.        EXAMPLESRC = $(TOP)/examples
  174.        CONTRIBSRC = $(TOP)/../contrib
  175.            DOCSRC = $(TOP)/doc
  176.            RGBSRC = $(TOP)/rgb
  177.         DEPENDSRC = $(UTILSRC)/makedepend
  178.          IMAKESRC = $(CONFIGSRC)
  179.          XAUTHSRC = $(LIBSRC)/Xau
  180.           XLIBSRC = $(LIBSRC)/X
  181.            XMUSRC = $(LIBSRC)/Xmu
  182.        TOOLKITSRC = $(LIBSRC)/Xt
  183.        AWIDGETSRC = $(LIBSRC)/Xaw
  184.        OLDXLIBSRC = $(LIBSRC)/oldX
  185.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  186.       BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  187.      MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  188.      EXTENSIONSRC = $(TOP)/extensions
  189.  
  190.   DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
  191.      EXTENSIONLIB =  -L$(USRLIBDIR) -lXext
  192.  
  193.           DEPXLIB = $(DEPEXTENSIONLIB)
  194.              XLIB = $(EXTENSIONLIB) -L$(USRLIBDIR) -lX11
  195.  
  196.       DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
  197.          XAUTHLIB =  -L$(USRLIBDIR) -lXau
  198.  
  199.         DEPXMULIB =
  200.            XMULIB = -L$(USRLIBDIR) -lXmu
  201.  
  202.        DEPOLDXLIB =
  203.           OLDXLIB = -L$(USRLIBDIR) -loldX
  204.  
  205.       DEPXTOOLLIB =
  206.          XTOOLLIB = -L$(USRLIBDIR) -lXt
  207.  
  208.         DEPXAWLIB =
  209.            XAWLIB = -L$(USRLIBDIR) -lXaw
  210.  
  211.  LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln
  212.          LINTXLIB = $(USRLIBDIR)/llib-lX11.ln
  213.           LINTXMU = $(USRLIBDIR)/llib-lXmu.ln
  214.         LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln
  215.           LINTXAW = $(USRLIBDIR)/llib-lXaw.ln
  216.  
  217.           DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  218.  
  219.          DEPLIBS1 = $(DEPLIBS)
  220.          DEPLIBS2 = $(DEPLIBS)
  221.          DEPLIBS3 = $(DEPLIBS)
  222.  
  223. ###########################################################################
  224. # Imake rules for building libraries, programs, scripts, and data files
  225. # rules:  $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $
  226.  
  227. ###########################################################################
  228. # start of Imakefile
  229.  
  230. #
  231. #    Imakefile for ad2c - Convert X resources to C decls
  232. #
  233. #    George Ferguson, ferguson@cs.rochester.edu, 19 Mar 1991.
  234. #
  235.  
  236. # Where do you want this (if the default isn't okay)?
  237. #BINDIR = bin
  238. #MANDIR = man/man1
  239. # Default suffix is "1", change if you change MANDIR I guess
  240. ##undef 1
  241. ##define 1 l
  242.  
  243. # Why is this not the default?
  244. INSTPGMFLAGS = -m 0755
  245.  
  246. all:: ad2c
  247. depend:
  248.     @echo 'no need to depend for ad2c'
  249. ad2c:
  250.     @echo 'ad2c is up to date'
  251.  
  252. install:: ad2c.script
  253.     $(INSTALL) -c $(INSTPGMFLAGS) ad2c.script $(BINDIR)/ad2c
  254.  
  255. install.man:: ad2c.man
  256.     $(INSTALL) -c $(INSTMANFLAGS) ad2c.man $(MANDIR)/ad2c.1
  257.  
  258. ###########################################################################
  259. # common rules for all Makefiles - do not edit
  260.  
  261. emptyrule::
  262.  
  263. clean::
  264.     $(RM_CMD) \#*
  265.  
  266. Makefile::
  267.     -@if [ -f Makefile ]; then \
  268.     echo "    $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  269.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  270.     else exit 0; fi
  271.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  272.  
  273. tags::
  274.     $(TAGS) -w *.[ch]
  275.     $(TAGS) -xw *.[ch] > TAGS
  276.  
  277. saber:
  278.     #load $(ALLDEFINES) $(SRCS)
  279.  
  280. osaber:
  281.     #load $(ALLDEFINES) $(OBJS)
  282.  
  283. ###########################################################################
  284. # empty rules for directories that do not have SUBDIRS - do not edit
  285.  
  286. install::
  287.     @echo "install in $(CURRENT_DIR) done"
  288.  
  289. install.man::
  290.     @echo "install.man in $(CURRENT_DIR) done"
  291.  
  292. Makefiles::
  293.  
  294. includes::
  295.  
  296. ###########################################################################
  297. # dependencies generated by makedepend
  298.  
  299.